package com.medata.repository;

import com.medata.dataObject.Docobject;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author ：zb
 * @date ：Created in 2019/5/13 0013 19:28
 * @description：
 */

public interface DocobjectRepository extends JpaRepository<Docobject,Integer> {
    List<Docobject> findByDocidAndClientfullpath(String docId,String path);
    void deleteByObjectid(String objectId);
    Docobject findAllByObjectid(String objId);
    List<Docobject> findByDocidAndDbid(String docid,String dbid);
}
